package com.coffee.order.api.inquire.service;

import com.coffee.core.entity.Page;
import com.coffee.core.entity.PagerInfo;
import com.coffee.core.exception.BusinessException;
import com.coffee.order.api.inquire.query.InquireOrderPlanQuery;
import com.coffee.order.api.inquire.result.InquireOrderPlanResult;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface InquireOrderPlanService {

	Page<InquireOrderPlanResult> getPager(InquireOrderPlanQuery param, PagerInfo pr);
	
	Integer count(InquireOrderPlanQuery param);
	
	InquireOrderPlanResult getDetail(Integer id);
	
	List<InquireOrderPlanResult> getList(InquireOrderPlanQuery param, PagerInfo pr);
	
	List<InquireOrderPlanResult> getList(InquireOrderPlanQuery param);
	
	List<InquireOrderPlanResult> getList();

	void delete(Integer id);

	void addOrUpdate(InquireOrderPlanResult result)throws BusinessException;
	
	Map<Integer,InquireOrderPlanResult> getItemMap(Set<Integer> idSet);
	
	Map<Integer,InquireOrderPlanResult> getItemMap();
	
}